package cm.day08;

import com.sun.nio.sctp.PeerAddressChangeNotification;

import java.util.LinkedHashMap;

public class Test6 {
    public static void main(String[] args) {
        LinkedHashMap<Student ,String> lhm=new LinkedHashMap<>();
        Student stu1=new Student("熊大",1,89.5);
        Student stu2=new Student("熊二",1,89);
        Student stu3=new Student("光头强",3,99.5);
    lhm.put(stu1,"南京");
    lhm.put(stu2,"苏州");
    lhm.put(stu3,"上海");

        System.out.println(lhm);
    }
}
